refactored solution. Logfiles as embedded resource