produces output with an adjustable ngram length and multiple file intake