How to selectively include files?

I have a main file and a chapter file which i include in the main file. But the chapter file is created using pandoc and adds some additional content at the beginning. Is it possible to somehow specify in the main file that the first n lines of chapter file should be skipped? Or is it possible to specify in the main file that the first n lines of chapter file should be treated as comment?

Thank you