Correcting code in fileSync function
Add integration with rsync module