1. fixed logging module and file creation dependency.