973
973
* @param file the file to read, must not be <code>null</code>
974
974
* @return the file contents, never <code>null</code>
975
975
* @throws IOException in case of an I/O error
978
978
public static String readFileToString(File file) throws IOException {
979
979
return readFileToString(file, null);