def read_categories(filepath):
    """ Reads a list of line separated category_uris"""
    with open(filepath, 'r') as f:
        # Hopefully there aren't any newlines in the URLs
        return f.read().rstrip().split('\n')