When a file path is very long, the name of the actual
file may not be visible in the title bar. If a file
path gets too long for the title bar, it should be
abbreviated by removing directory elements in the
Directory elements that are below the project root
should probably not be removed.