index.js
function(files) {
		var regex;
		if (options.webroot instanceof RegExp) {
			regex = options.webroot;
		} else {
			regex = new RegExp('^' + options.webroot);
		}
		_.each(files, function (value, key) {
			files[key] = value.replace(regex, '');
		});
		return files;
	}
function(files) {
		var regex;
		if (options.webroot instanceof RegExp) {
			regex = options.webroot;
		} else {
			regex = new RegExp('^' + options.webroot);
		}
		_.each(files, function (value, key) {
			files[key] = value.replace(regex, '');
		});
		return files;
	}
function ( files ) { var regex ; if ( options . webroot instanceof RegExp ) { regex = options . webroot ; } else { regex = new RegExp ( '^' + options . webroot ) ; } _ . each ( files , function ( value , key ) { files [ key ] = value . replace ( regex , '' ) ; } ) ; return files ; }
Strip server path from from file path so
that the file path is relative to the webroot

@param  array files
@return array files clean filenames
Strip server path from from file path so that the file path is relative to the webroot