select + inputfile