remove legacy file