change the way remove_old_comments write the file