replaceIntensity:delete file