def load_filepaths(filename):
    """Read in a list of file paths.

    Args:
        filename: A text file containing a list of file paths. Assume that
        each line has one file path.

    Returns:
        filepaths: A list of strings where each is a file path.
    """
    with open(filename) as f:
        filepaths = [line.strip() for line in f]
    return filepaths