Input file error handling
Fix