Remove extra . from filename