add support for same-mime file concatenation