# Reject a broken file and cancel a replacement

See a malformed file refused by the real importer, then cancel a valid preview without replacing the current bin.

Source: https://help.smartfact.ai/factorycards/guides/reject-a-bad-file

Audience: Supervisor

See a malformed file refused by the real importer, then cancel a valid preview without replacing the current bin.

## Reject a broken file and cancel a replacement

1. **Try the prepared invalid CSV**

   Try the prepared invalid CSV.

   The real parser refuses the broken file before replacing the dataset. Fix the source file and import it again.

2. **Load the prepared two-bin file**

   Load the prepared two-bin file.

   This visible training control supplies a prepared local CSV to the real importer. In the product, choose your own local file.

3. **Cancel the prepared file import**

   Cancel the prepared file import.

   Cancelling the preview keeps the current dataset. A file is not applied until its mapping has been reviewed.

[Watch or practise this chapter](https://help.smartfact.ai/factorycards/demo?guide=reject-a-bad-file&chapter=reject-a-bad-file&audience=office)

Keep exact identifiers and print at actual size. This training does not qualify physical printers or scanners.
