parse input file name