added some test and scala version of TransformFileInZip