Log file fixes

-Fixed unnecessary nested folders.
-Fixed newline printing
-Added splitting service text only after whole words