Formatting the layout files