add support for creating line corpus from file corpus