create input file