Revert "fix file name with multiple "." in file name"

This reverts commit c34c0bf17095fc60dd9cedbc066a1599e601c1a1.