make sure that file output has timestamp