added a file logger