Add calling elasticsearch Bulk API directory
Move create_import_file in transaction