def clean_name(value):
    """ remove bad character from possible file name component """
    deletechars = r"\/:*%?\"<>|'"
    for letter in deletechars:
        value = value.replace(letter, '')
    return value