remove begin pod from the file