logger creates a new file for every execution