code: function checkForMoreFiles(bundle) {
  		debugLS('in checkForMoreFiles');
  		var defered = q.defer();
  
  		self.iWrite('FILE_IO_DIR_NEXT', 1)
  		.then(function(res) {
  			debugLS('in checkForMoreFiles res');
  			// If there wasn't an error then there are more files that need
  			// to be read.
  
  			getReaddirAttributes(bundle)
  			.then(readAndSaveFileListing)
  			.then(checkForMoreFiles)
  			.then(defered.resolve)
  			.catch(defered.reject);
  		}, function(err) {
  			// Determine if there are more files to look for.
  			if(acceptableCheckForMoreFilesErrCodes.indexOf(err) >= 0) {
  				debugLS('in checkForMoreFiles Finished!');
  				// Then there are no more items... done.
  				defered.resolve(bundle);
  			} else {
  				// There was some weird issue...
  				debugLS('in checkForMoreFiles err', err);
  				bundle.isError = true;
  				bundle.errorStep = 'checkForMoreFiles';
  				bundle.error = modbusMap.getErrorInfo(err);
  				bundle.errorCode = err;
  				defered.reject(bundle);
  			}
  		});
  		return defered.promise;
  	}
docs: Step #4 in "readdir" Operation