Esta es una tarea bastante sencilla que no siempre podemos encontrar una solucion a mano.

FileInputStream file = new FileInputStream("file.txt");
    
DataInputStream input = new DataInputStream(file);
BufferedReader buffer = new BufferedReader(new InputStreamReader(input));
String line;

while ((line = buffer.readLine()) != null)   {
	System.out.println (line);
}

input.close();