removed redundant file writes to initialize logs