function getThemeByFile(file) {
        var path = file._path;
        return _.find(loadedThemes, function (item) {
            return item.file._path === path;
        });
    }
@private
Will search all loaded themes for one the matches the file passed in

@param {File} file is the search criteria
@return {Theme} theme that matches the file