write to file for basic logger
add benchmarks for basiclogger