Shorten file path displayed on config widget