Format files on save