Add ability to save selected file and register it in db.
Merge branch 'dev' of https://github.com/aokunevich/logger into dev