added sync of remote and local files and folders