Java Sync Application to synchronise files between two endpoints