def METHOD_NAME(self, path):
    if path in self.files.keys():
        return self.files[path].splitlines(True)
    raise IOError('Error when reading file {} - file '
                  'does not exist.'.format(path))