Replace reading with File::Slurp with File::Slurp::Tiny
Replace File::Slurp::write_file