function addFile(file) {
				var _this = this;
				var name = file.name.split(".svg")[0];
				var extraColors = this.config.get("colors");
				var colorfy = new Colorfy(name, extraColors, this.config.toJSON());

				// build files for each color
				_.each(colorfy.colors, function (color, colorName) {
					var name = "" + colorfy.originalFilepath + "-" + colorName;
					_this.add({ file: file, color: color, name: name });
				});

				// don't add base SVG if it had colors and the dynamicColorOnly option was true
				if (_.isEmpty(colorfy.colors) || !this.config.get("dynamicColorOnly")) {
					this.add({ file: file, name: colorfy.originalFilepath });
				}
			}
/**
    * split the file into multiple files if it has colors, then add it to the collection
    * @param {File} file A svg that was dropped
    */
split the file into multiple files if it has colors, then add it to the collection
@param {File} file A svg that was dropped
split the file into multiple files if it has colors then add it to the collection @param { File } file A svg that was dropped
function addFile(file) {
				var _this = this;
				var name = file.name.split(".svg")[0];
				var extraColors = this.config.get("colors");
				var colorfy = new Colorfy(name, extraColors, this.config.toJSON());
				_.each(colorfy.colors, function (color, colorName) {
					var name = "" + colorfy.originalFilepath + "-" + colorName;
					_this.add({ file: file, color: color, name: name });
				});
				if (_.isEmpty(colorfy.colors) || !this.config.get("dynamicColorOnly")) {
					this.add({ file: file, name: colorfy.originalFilepath });
				}
			}
function addFile ( file ) { var _this = this ; var name = file . name . split ( ".svg" ) [ 0 ] ; var extraColors = this . config . get ( "colors" ) ; var colorfy = new Colorfy ( name , extraColors , this . config . toJSON ( ) ) ; _ . each ( colorfy . colors , function ( color , colorName ) { var name = "" + colorfy . originalFilepath + "-" + colorName ; _this . add ( { file : file , color : color , name : name } ) ; } ) ; if ( _ . isEmpty ( colorfy . colors ) || ! this . config . get ( "dynamicColorOnly" ) ) { this . add ( { file : file , name : colorfy . originalFilepath } ) ; } }
split the file into multiple files if it has colors, then add it to the collection
 @param {File} file A svg that was dropped
split the file into multiple files if it has colors then add it to the collection @param { File } file A svg that was dropped
// build files for each color // don't add base SVG if it had colors and the dynamicColorOnly option was true