integrated findbugs suggestions
converted class into a private one
integrated suggestions by FindBugs
added return value handling
changed to static inner classes
removed System.out.printlns and changed those to logger-methods
introduced logger
removed sysouts
changed buffer sizes and I/O / file handling