def read_logfile(log_filepath):
    """
    Function to read the portal.log file generated by Genesippr

    :param log_filepath: Path to portal.log
    :return: Raw list of lines from the log file
    """
    try:
        log_file = open(log_filepath, 'r')
        log_lines = log_file.readlines()
        log_file.close()
        return log_lines
    except FileNotFoundError:
        print('\nCANNOT FIND FILE {}'.format(log_filepath))