remove header/footer from content file