by contacting the layer with gases, liquids or plasmas