Text window is displayed when clicking on the file name