rename and format layout files