Updated to read from file rather than request over web