Jingle File Transfer

I want to use Jingle for file transfer, with Smack-4.3.0,
Is there an example that explains how to use the current implementatio of the Jingle extension to transfer files? I have searched, but I have found only examples for the old version.