Support different comppressed file formats.