def get_file_paths(fname):
    """ Read file paths from the file. """
    with open(fname) as f:
        file_paths = f.readlines()
    file_paths = [path.rstrip() for path in file_paths if path.rstrip()]
    return file_paths