Added option for loading local infile.