Adding IOException handling and process termination on error.
Merge branch 'master' of https://github.com/ludovicferre/aila2