Yup. Thanks. Solved it with a little deeper digging. Instead of just reading the file, I use cat to set the variable to the contents of the file and that works well.