I often use the Scanner class to read files because it is so convenient.
String inputFileName; Scanner fileScanner; inputFileName = \"inp
From reading the code, it appears to load 1 KB at a time by default. The size of the buffer can increase for long lines of text. (To the size of the longest line of text you have)