Simplify NdexTask class. Add support for processing file export tasks.