Probably WordCount should be refactored so that it supports many InputFormats as a DataSource without the need of writing seperate files. What do you guys think?