merge layout files