Added test for different directory names, when two files of the same name are opened, located in folders with same name.
Fixed an issue when multiple directories should be displayed next to the filename.