use boost file extensions, remove ? from filenames

files like blah.txt?ver2.3.3 will fail, so i remove everything after ?
to get blah.txt.

Also use boost file extensions for safer file detail extractions