def load_rfam_accessions_from_file(accession_list):
    """
    This function parses a .txt file containing Rfam accessions and returns those
    accession_list: This is a .txt file containing a list of Rfam accessions

    return: list of Rfam family accessions
    """
    fp = open(accession_list, 'r')
    accessions = [x.strip() for x in fp]

    fp.close()

    return accessions