This method is intended to replace TextEditor.getLongTitle
and gives a better tab title when there are multiple opened
files has identical file name. This method will returns
<unique-parent-directory>/.../<filename> when opened files
have identical file name.