from pathlib import Path


def _get_file_from_folder(folder: Path, suffix: str) -> Path:
    """Gets this first file in a folder with the specified suffix

    Args:
        folder (Path): folder to search for files
        suffix (str): suffix for file  to search for

    Returns:
        Path: path to file
    """
    return list(Path(folder).glob("*" + suffix))[0]