Backup tool in java, for learning purposes