added file_ingest_options to uploadFiles function