Remove file from entity after saving it