from pathlib import Path
from typing import List


def find_conf_files(input_dir: Path) -> List[Path]:
    """Obtains paths for the 'conf*.csv' files containing the Hamiltonians."""
    conf_files = sorted([f for f in input_dir.iterdir() if f.name[:4] == "conf"])
    if conf_files == []:
        raise FileNotFoundError(f"No 'conf*.csv' files found in directory '{input_dir}'")
    return conf_files