make inputFile def
better file constructor