now based on XFileSharingPro.py