added file reads for getobjects