protected function is_editable($file_model) {
        $allowed_types = array_map('strtolower', $this->config['security']['editRestrictions']);
        return in_array(strtolower($file_model['attributes']['extension']), $allowed_types);
    }