O projeto tem o arquivo dentro chamado arquivo.txt, coloquei o package na classe mas não funciona, não encontra o arquivo.
public class Principal {
public static void main(String[] args) throws IOException {
//InputStream is = System.in;
InputStream is = new FileInputStream("/principal/arquivo.txt");
InputStreamReader isr = new InputStreamReader(is);
BufferedReader br = new BufferedReader(isr);
String s = br.readLine();
while (s != null) {
System.out.println(s);
s = br.readLine();
}
}