. . . "In your js, there is a line that reads xhr.setRequestHeader(X_FILENAME, file.name);" .