Menu

File Management

Storing and Tracking Files

When you save a file, the operating system decides where it goes on the storage device. You choose a name and a folder; the operating system chooses the actual free space.

It does not simply drop the file at the first empty spot and forget about it. It records the location, so it can find the file again. If the file is spread across several free areas, the operating system notes every part that belongs to that file.

Finding a saved file later

That record is what lets you open the file again. You just open the file as usual, and the operating system uses its record to go to the right place. You never need to know which part of the storage device holds it.

Imagine you save a poster for a school charity fair. The operating system places it in free space and writes down where it went. The next day, when you open the poster, it uses that record to retrieve it.

Protecting existing files

Before writing, the operating system checks the name and folder you have chosen. If another file in that folder already has the same name, it warns you or asks you to confirm before the existing file is replaced. This stops a new save from silently overwriting something important.

This tracking matters because a storage device can hold thousands of files. Without a reliable record of where each one sits, files would be effectively lost, even though their data is still on the device.

Practise this