code: function(location, isMetadata) {
  			var that = this;
  			return this._getEntry(location).then(function(entry) {
  				var d;
  				if (isMetadata) {
  					return createFile(entry).then(function(file) {
  						return that._createParents(entry).then(function(parents) {
  							if (parents) {
  								file.Parents = parents;
  							}
  							return file;
  						});
  					});
  				}
  				d = new orion.Deferred();
  				entry.file(function(file) {
  					var reader = new FileReader();
  					reader.readAsText(file);
  					reader.onload = function() {
  						d.resolve(reader.result);
  					};
  					reader.onerror = function() {
  						d.reject(reader.error);
  					};
  				});
  				return d;
  			});
  		}
docs: Returns the contents or metadata of the file at the given location.
  
  @param {String} location The location of the file to get contents for
  @param {Boolean} [isMetadata] If defined and true, returns the file metadata,
  otherwise file contents are returned
  @return A deferred that will be provided with the contents or metadata when available