createFile(new \CURLFile('/path/to/file.png', 'image/png', 'file.png'));