added zip/bz2/gzip to resource controll.