# Add Your First File

What’s one thing you’d like to have handy when the Wi-Fi drops? Pick a recipe, a packing list, or a few lines of project notes. In this exercise you’ll save a copy to your kit, then find it using words from inside the file.

## 1. Pick a note

Start with a short plain-text (`.txt`) or Markdown (`.md`) file. Choose one with a line you’ll recognize. If you’re starting from scratch on a Mac, open TextEdit, start a new document, choose **Format → Make Plain Text** if the document is in rich-text mode, and write a few lines about something you want to remember. Save it as `my-first-note.txt`.

## 2. Copy it to your kit

In Finder, open your kit drive, then **offline-kit → knowledge**. Copy your file into that folder. Keep the drive plugged in.

## 3. Make it searchable

Leave the app running. Open a second Terminal window and run the commands below. They assume your drive is named `OFFLINE-KIT`. If you gave it another name, use that name in the first line.

```sh
cd "/Volumes/OFFLINE-KIT/offline-kit" && make index
```

Wait for the command to finish. This refreshes the kit’s local index and works with Wi-Fi off.

## 4. Find it offline

Disconnect Wi-Fi and any wired internet connection. Leave the app running and the drive attached. In **Search**, enter two or three distinctive words from the body of your note in **Search your local catalog**, then press **Return**. Under your filename, choose **Open matching passage** and read the highlighted words in context.

**No match?** Check in Finder that the copy is inside the kit’s `knowledge` folder and ends in `.txt` or `.md`. Run the index command again, then search for a single distinctive word from the note.

**Try it again later.** Edit the copy on the drive, add one memorable word, and refresh the index. Search for that word to find the updated version. [More about searching your library](../docs/knowledge/search.md)
