add some java io stream transformation