removing useless lines on old file