File sync server like dropbox in java