def cleanup_string(path_name):
    """Function to remove some characters that don't play nicely on Windows machines filesystem"""
    path_name = path_name.replace('/', '-')
    path_name = path_name.replace(' :', ' -')
    path_name = path_name.replace(': ', ' - ')
    path_name = path_name.replace(':', '-')
    path_name = path_name.replace('?', '')
    return path_name
