Removal of any unwanted characters when creating the ID from the filename.