how to let your code read another file in java code example
Example: java file reader construct input
Reader fileReader = new FileReader("c:\\data\\input-text.txt");
Reader fileReader = new FileReader("c:\\data\\input-text.txt");