Methods for retrieving binary file contents via XHR