Add factory for Text File data sources, turning them into a layer.