log & file creation work