if (this.start == 0)
this.start = System.currentTimeMillis();
// Check for timeout before doing any work
if (System.currentTimeMillis() > this.start + this.timeout)
throw new WWTimeoutException(Logging.getMessage("generic.CannotOpenFile", this.docUrl));
// If we have a context document, let that doc resolve the reference. Otherwise, request it from the
// file store.
Object docSource;
if (this.context != null)