shorten file name in log message