from typing import List
from pathlib import Path
import re


def parse_files(text: str) -> List[Path]:
    """Convert comma-delimited filenames to a list of Path objects"""
    if not text or not text.strip():
        return []
    return [Path(x.strip()) for x in re.split("[ ,]+", text)]