import logging


def get_persona_locations(locations_fpath: str):
    """
    Reads a list of locations.
    """
    locations = []
    logging.info('Loading the locations file.')
    with open(locations_fpath) as lf:
        for line in lf:
            s = line.strip()
            if not s:
                continue
            locations.append(s)
    logging.info(f'{len(locations)} location loaded')
    return locations