* BAEL-7490 read write file in separate thread * Change the to try resources * Update the code to sync with article * BAEL-6622 compare thenApply() and thenApplyAsync() * BAEL-6622 change to unit test * Tidy up the code
=========
* BAEL-7490 read write file in separate thread * Change the to try resources * Update the code to sync with article * BAEL-6622 compare thenApply() and thenApplyAsync() * BAEL-6622 change to unit test * Tidy up the code
=========