[source,java]
----
public String readFile(File f) throws IOException {
  return readFromDisk(f);
}
----

or

[source,java]
----
public String readFile(File f) throws IOException {
  String content;
  try {
    content = readFromDisk(f);
  } catch (IOException e) {
    logger.LogError(e);
    throw e;
  }
  return content;
}
----