I understand this a basic problem and I am most likely looking right past the solution, but I do not see where I am going wrong. I've looked at other answers and have not received anything that seems to help.
try {
FileReader reader = new FileReader("C:\\Users\\ethan\\Desktop\\MyFile.txt");
int character;
while ((character = reader.read()) != -1) {
System.out.print((char) character);
}
reader.close();
} catch (IOException e) {
e.printStackTrace();
}