Updated feature: Added User ID support to file log writer