That is lite-c. That error seems to indicate that the 'fhandle' variable is invalid and therefore i guess that the file isn't opened/read properly.

Try again with a new .txt file, and make sure it is in the same directoy as your script.