What is the code supposed to do after it defines a File object?
For reading simple files, the Scanner class may be useful.