Creating new XER file from a filtered layout