Added checkIfEmpty and subset procedure.
Updated ocfParser procedure.