Remove commented and extraneous data