filestreams, leading whitespaces trimmig added