def read_file(file_name):
    logger.info('Reading file...')
    parsed_data = []
    try:
        with open(file_name) as f:
            for line in reversed(f.readlines()):
                processed_line = raw_line_parser(line.rstrip())
                if processed_line is not None:
                    parsed_data.append(processed_line)
    except __HOLE__ as e:
        logger.error('Failed to read the file. {0}'.format(e))
        exit(1)
    return parsed_data
dataset/ETHPy150Open docker/docker-registry/scripts/bandwidth_parser.py/read_file