pvFile is empty?
please check your infile, if the file is OK, please useabsolute path try again.
I think there maybe has a file sa same as like infile in your current path.