A way you could do it is:

Use a FileReader to read the file:


FileReader fr = new FileReader("Uvas.txt");

then you could use a BufferedReader to read the text on the file: