Rename and resize files