Adding compound file reading capability, and updating OFM to work properly