Combining AbbreviateFile with BamType again because I couldn't get the build to work.