class RuboCop::Cop::Naming::FileName

def on_new_investigation

def on_new_investigation
  file_path = processed_source.file_path
  return if config.file_to_exclude?(file_path) ||
            config.allowed_camel_case_file?(file_path)
  for_bad_filename(file_path) do |range, msg|
    add_offense(range, message: msg)
  end
end