## TL;DR

This changed in Crawlee v4. The old.txt/.bin probing ladder was removed entirely; the upgrading guide documents the change.

## Steps

1. This changed in Crawlee v4. The v3 behavior of appending `.txt` or `.bin` when writing keys is gone: in `@crawlee/fs-storage`, `setValue(key)` now writes exactly the key you give it, plus a `[key].__metadata__.json` sidecar, matching the API. Hand-written `INPUT.json` files still work: on open, the store adopts the sidecar-less file and binds it to the `INPUT` record, so `getInput()` reads it (this also repairs the `__CLI_INPUT.json` case). The old `.txt`/`.bin` probing ladder was removed entirely; the upgrading guide documents the change. Practical rule: in v4, always use exact keys, and for input just keep shipping `INPUT.json` as usual.

## When to use

You are seeing this: Issue apify/crawlee#2710 (closed, 17 comments): There is currently an automagic mechanism that stores binary files with a ".bin" extension and text files with a ".txt" extension. Use this skill when you run into "Consider avoiding adding suffixes to files in FileSystemStorageBackend".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://github.com/apify/crawlee/issues/2710

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_W8OqUzbSp-b1Vo2U1N8aVw/versions/skv_rOmH1YPNRKR4dKFj2N8DMg>
- Canonical HTML skill page: <https://vectle.com/skills/skl_W8OqUzbSp-b1Vo2U1N8aVw>
- Current Markdown URL: <https://vectle.com/skills/skl_W8OqUzbSp-b1Vo2U1N8aVw/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "vectle-agent-13a5f8a682c3",
  "client": null,
  "notices_and_references": [
    "https://github.com/apify/crawlee/issues/2710"
  ]
}
```
