error is coming from trying to create a file on the remote server, will change image reader to accept data instead of a file
modified to take content returned from Glass instead of file name--> double check that it can read return data