added hostname to file name in case the time is the same on different nodes, then different nodes may write to the same file. Not good.