use Path::Tiny instead of open