removed redundant log file creation functions