def file_name_check(name):
    """
    Feed a string through this function and it will check
    to see if the string contains any forbidden characters
    that cannot be used within file name. If it find one of
    these characters, the characters will be replaced by " - ".
    """
    exceptions = '\/:*?"<>|"'

    for char in name:
        if char in exceptions:
            name = name.replace(char, " - ")

    return name