java.io.File is just a reference to a file, nothing more. To open a file for reading you need an InputStream for bytes or an InputStreamReader for characters. Most Java coders I know would use...