remove legacy files