separate header and footer into independent files