remove slashes from filenames