model.py: Read folder of logfile and db from environment