def get(type, key)

      r = lock(:read, type, key) { |f| do_get(f) }

      r == false ? nil : r
    end
def get(type, key)

      r = lock(:read, type, key) { |f| do_get(f) }

      r == false ? nil : r
    end
Gets a document (or nil if not found (or corrupted)).