def read_file(self, filepath):
return read_file(filepath)<EOL>
Retrieves the contents of the specified file.

This function performs simple caching so that the same file isn't read
more than once per process.

:param filepath: the file to read.
:type filepath: str
:rtype: str