check local infile