thread info printed in file