'This method is to make it easier to stub out code for testing.
Returns a string representing the contents of the file.'

def _read_file(self, filename):

    with open(filename, 'r') as f:
        return f.read()
