You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: filesystem.rb
    path of file: ./repos/manageiq/app/models
    
    the code of the file until where you have to start completion: require 'metadata/linux/LinuxUtils'

class Filesystem < ApplicationRecord
  belongs_to :resource, :polymorphic => true
  belongs_to :miq_set    # ScanItemSet
  belongs_to :scan_item
  belongs_to :
    
  def contents_displayable?
    return false if name.nil?
    # We will display max 20k characters in the UI textarea
    return false if size > 20_000

    mime_type = MIME::Types.of(name).first
    return has_contents? && contents.force_encoding("UTF-8").ascii_only? if mime_type.nil?

    !mime_type.binary?
  end