I\'m well aware of the source (aka .) utility, which will take the contents from a file and execute them within the current shell.
source
.
Now, I\'
I think your solution is command substitution with backticks: http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_03_04.html
See section 3.4.5