Need to `require 'pathname'` at the top