def read_files_list(filename):
    """Read list of MIDI paths from file.

    Parameters
    ----------
    filename : str
        Filename or path of file with MIDI paths written one per line.

    Returns
    -------
    midipaths : list of str
        List of full paths to MIDI files.

    """

    midipaths = [line.rstrip('\n') for line in open(filename)]
    return midipaths