code: function(loc){
  		 var path = loc;
  		 //console.log('in loc: ' + loc);
  		 var files = afs.list_directory(loc);
  		 each(files,
  		      function(file){
  			  // Get only files, not directories.
  			  //console.log('found file: ' + file);
  			  var full_file = loc + '/' + file;
  			  _check_and_save(full_file);
  		      });
  	     }
docs: e.g. ['static', 'js', ...]