processing input file