def read_file(filename):
    if os.path.isfile(filename):
        try:
            with open(filename) as f:
                content = f.read()
                return content
        except __HOLE__:
            logging.exception("Error in reading file: %s" % filename)
            return None
dataset/ETHPy150Open tomashanacek/mock-server/mock_server/util.py/read_file