Make a logger to file