import unicodedata


def normalize_wiki_filename(filename):
    """
    Wiki filenames have been an pain, since the data seems to have filenames encoded in
    the incorrect case sometimes, and we have to be careful to keep a consistent unicode format.
    Our current solution is require all filenames to be normalized like this
    """
    # ALON removed the lower case here
    return unicodedata.normalize("NFD", filename)