changed path to file & changed thread log out