A file sync program written in java