Instead of returning a List< String > return a OutputDirectory which
also contains a typename for the directory