add an interface for compressed files

Link: https://github.com/GeneAssembly/biosal/issues/70
Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>