Modernize the app: apply Guava;
Path instead of File where possible;
Log error instead of printStackTrace
Refactoring