input file support