inputfile.py: added error message