Check our new Solution/Tool Migrate to 3DEXPERIENCE File Name Cleanup for Data Migration. It provides a  comprehensive solution for bad file names in legacy system with initial generic solution for SMARTEAM and SOLIDWORKS/NON-CAD data.