modify input file type