format layout files