from pathlib import Path


def mtimes(file_list):
    """Return a list of modified times for the given list of files"""
    files = {}
    for f in file_list:
        path = Path(f)
        files[f] = path.stat().st_mtime
    return files