Added logging to files.
Closing shtorka works