import pathlib


def resolve(path: str) -> str:
    """ Resolve path with pathlib module. This will (for existing files) fix any 
    case mismatch, for example, drive letter.

    Args:
        path: abs path to resolve

    Returns:
        Resolved path according to the OS.
    """
    return str(pathlib.Path(path).resolve())