Use java.nio.* classes instead of Guava's file utils
Add option to specify the dot exececutable
Unify exception handling