version with file logger