def read_text_file(path_to_file):
    """
    Read a text file and import each line as an item in a list.
    
    * path_to_file: the path to a text file.
    """
    with open(path_to_file) as f:
        lines = [line.rstrip() for line in f]
        
    return lines