removes dead code
exports mtl file