Trace::trimFilename(): Trim a file name by a dirname