Changed code to use Slurp

Added error handling to avoid abort if file is missing.