added button to open a log file in text editor