defining inputfile class