Moved the file size request over to XHR helper.