Renames files first