added pre-2000 and pre-1996 file format parsers
made data url generation logic more general