def read_ffindex(file):
    """Read a ffindex and return a list of all the lines in the file .

    Args:
        file (string): path to the ffindex

    Returns:
        list of string: The file read line by line
    """
    fh = open(file, "r")
    
    index = []
    for line in fh:
        index.append(line.rstrip().split())
    
    fh.close()
    
    return index