delete legacy file