public static String readTextfile(final String filename) throws IOException {
    return readTextfile(new File(filename));
  }
Reads a text file into a string.

@param filename The name of the text file.
@return The text read from the file.
@throws IOException
java/zylib/src/main/java/com/google/security/zynamics/zylib/io/FileUtils.java