moved rename logic to Filer class