use of contaminant removal mode in projects, read and write new contaminant removal mode from XPIP files