Added ability to read from file for variables