def read_file(self, path):
self.assert_valid_path(path)<EOL>with open(path, '<STR_LIT:rb>') as file:<EOL><INDENT>contents = file.read().decode('<STR_LIT>')<EOL><DEDENT>return contents<EOL>
Reads a file into memory and returns it's contents

@type path: str
@param path: path to load