getIconForFile(filename) {
		const { getModeForPath } = ace.require("ace/ext/modelist");
		const type = getFileType(filename);
		const { name } = getModeForPath(filename);

		const iconForMode = `file_type_${name}`;
		const iconForType = `file_type_${type}`;

		return `file file_type_default ${iconForMode} ${iconForType}`;
	}
Gets icon according to filename
@param {string} filename