making separate header and footer (partial file)