Add: writeToFile to XMLHttpRequest