Added support for bz2 file

Please pull my changes.
Signed-off-by: Pier-Luc Plante <pier-luc.plante.1@ulaval.ca>