replace File::Slurp by Path::Tiny
explicit import of 'path'
script converted to Path::Tiny