It looks like you're getting a file status of 35, which is a file not found. If the file does not exist or if the ID that the program is running under doesn't have access to that file, when you open the file for INPUT you'll get this error.
Make sure the file exists.