Very close to finish warehouseImport function.