error handeling in autorename
confirm in attachNewFile
preference window: alert when error in renaming format