def get_file_paths(filename):
    """
    Get paths from file.

    File should contain one path per line.
    Paths may be absolute or relative to the file's directory.
    Blank lines & comments are ignored.
    """
    lines = []
    with open(filename) as fh:
        for line in fh.readlines():
            line = line.strip()
            if len(line) == 0 or line.startswith('#'):
                continue
            lines.append(line)
    return lines