Fixed bug in parsing of input file of files