Remove above and below for non-html file