def mkfile(urlpath):
    """
    Create a file path from urlpath to locate a cache file locally. An md5 hash
    is made of urlpath to create the file path that is returned.

    @param urlpath: local file path fragment.
    @type urlpath: basestring
    @return: Qualified file name
    @rtype: basestring
    @requires: hashlib
    """
    from hashlib import md5
    return md5(urlpath).hexdigest()
