def read_txtfile(filepath):
    """Read a text file.

    Args:
        filepath (str): A path to an input text file.
    
    Returns:
        list: Text separated by \n.
    """
    with open(filepath, 'r') as f:
        txt = [l.strip() for l in f.readlines()]

    return txt