from pathlib import Path


def dsf_folder_and_file(path_to_tile: Path) -> str:
    """Transforms 'foo/bar/+40-130/+47-123.pvr' into '+40-130/+47-123'"""
    return "%s/%s" % (path_to_tile.parent.name, path_to_tile.stem)