Updates remove_oldfile upgrade script