Make file name parsing more flexible.

Now the file format can be specified per instrument as opposed to for the full archive.
This can be useful as e.g. BINGO-8BIT has a slightly different format.