Prepares a path name to be worked with. Path name must not be empty. This
    function will return the 'normpath'ed path and the identity of the path.
    This function takes an optional overriding argument for the identity.

    ONLY PROVIDE OVERRIDE IF:
        1) YOU AREWORKING WITH A FOLDER THAT HAS AN EXTENSION IN THE NAME
        2) YOU ARE MAKING A FILE WITH NO EXTENSION

def normalize(path_name, override=None):
    """
    Prepares a path name to be worked with. Path name must not be empty. This
    function will return the 'normpath'ed path and the identity of the path.
    This function takes an optional overriding argument for the identity.

    ONLY PROVIDE OVERRIDE IF:
        1) YOU AREWORKING WITH A FOLDER THAT HAS AN EXTENSION IN THE NAME
        2) YOU ARE MAKING A FILE WITH NO EXTENSION
    """

    identity = identify(path_name, override=override)
    new_path_name = os.path.normpath(os.path.expanduser(path_name))

    return new_path_name, identity