def make_pathable_string(s, replacewith='_'):
    """
    Removes symbols from a string to be compatible with directory structure.

    :param s: string
    """
    import re
    return re.sub('\\W+', replacewith, s)
