Modified file ingestion to use either automatic or manual via curl.