def uniform_filename(filename):
    """
    function makes filename directory strings uniform to the "\\" backslash standard

    :param filename: file directory string you want to format to a "\\" standard
    :return:
    """
    filters = ['/', '//', '\\\\']
    for f in filters:
        if f in filename:
            filename = filename.replace(f, '\\')
    return filename
