Moved file ingest logic from the dataset page and into ingestService.