class ActionDispatch::FileHandler

def file_readable?(path)

def file_readable?(path)
  file_path = File.join(@root, path.b)
  File.file?(file_path) && File.readable?(file_path)
end