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: find_changes.rb
    path of file: ./repos/gitlabhq/tooling/lib/tooling
    
    the code of the file until where you have to start completion: #!/usr/bin/env ruby
# frozen_string_literal: 
    
    def file_changes
      @file_changes ||=
        case @from
        when :api
          mr_changes.changes.select(&file_filter).flat_map do |change|
            change.to_h.values_at(*api_path_attributes)
          end.uniq
        else
          read_array_from_file(changed_files_pathname)
        end
    end