docs: function populateVars() {
        var obj = file[options.prop] || {};
        obj[options.nameProp] = Path.basename(file.path, Path.extname(file.path));
        obj[options.pathProp] = path;
        if(obj[options.pathProp]) {
          obj[options.pathProp] = ('/' !== obj[options.pathProp][0] ? '/' : '') +
            obj[options.pathProp] + '/';
        } else {
          obj[options.pathProp] = '/';
        }
        obj[options.extProp] = options.extValue || Path.extname(file.path);
        obj[options.hrefProp] = Path.join(
          obj[options.pathProp],
          obj[options.nameProp] + obj[options.extProp]
        );
        // Adding the file properties to the scope
        if(options.index &&
          options.index === Path.basename(file.path, Path.extname(file.path))) {
          for(var prop in obj) {
            curScope[prop] = obj[prop];
          }
          file[options.prop] = curScope;
        } else {
          // Add a reference to the parent scope
          if(options.parentProp) {
            file[options.prop][options.parentProp] = curScope;
          }
          if(!curScope[options.childsProp]) {
            curScope[options.childsProp] = [];
          }
          curScope[options.childsProp].push(file[options.prop]);
        }
      }