attachFile didn't have a field in the example

Also, the default folder that is created is _data not data, maybe this was syntax from Selenium1