Fixing logger files stuff