Attach file to current node if it's a file input.
Calling this method on any other elements than file input is not allowed.
string $path path to file (local):
void
public function attachFile(string $path) { $this->getDriver() ->attachFile($this->getXpath(), $path); }