GCSE · Computer Science · OCR · Spec J277
Operating system: file management
You typed for an hour, closed the laptop, and now you can't find the file. Who decided where it went? The operating system.
Saving
Reason it through
Why does saving stop your work from vanishing when the power goes off?
First link · your turn
While you are typing, where is your work being held?
Computing · OS functions
Which OS function is doing the work?
Sort each situation into the OS function that handles it.
Still to sort
File management (0)
Controlling how files are stored
Where the line is: It organises and stores files. It does not decide which user may open them.
Security (user) management (0)
Different users, different access rights
Where the line is: It decides what each user profile may reach, including which files.
User interface (0)
How you give the computer instructions and see results
Memory management and multitasking (0)
Sharing memory between programs running together
Peripheral management and drivers (0)
Working with connected devices
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
How the operating system keeps track of every file you save, and why you can find it again
What you need to know
- An operating system (OS) is the main software that manages the computer's hardware and lets other software run.
- File management is one of the OS's jobs: it controls how files are stored.
- Naming: a file gets a name so it can be identified and found again, and two files in the same folder can't share one.
Have a goZane swears he has two files called maths.docx sitting in the same folder. His laptop is not impressed. What's the problem?
Two files in the same folder can't share a name, so the second one can't be stored there under that name.
A name is how the file is identified and found again, so within one folder each name is used once.
- A file name usually ends in an extension, such as .docx or .jpg, which shows the file type and which application opens it.
- Folders (directories) can hold subfolders, which gives a hierarchical (tree) structure. A file's path is its route through those folders.
Have a goA file's path is School / Art / Posters / cover.png. Which folder holds the file directly?
Posters
A path lists the folders from the outside in, so the last folder before the file is the one that holds it directly.
- Moving a file changes where it is stored and copying adds another one. Either way the contents stay the same.
- Saving writes data from RAM to secondary storage, and the OS records where each file is stored so it can be opened again.
Have a goAisha has typed 800 words but hasn't pressed save when the power cuts out. Where was her work being held, and why is it at risk?
In RAM. Saving is what writes it to secondary storage, where it is kept when the power is off.
Only the save writes the data from RAM to secondary storage, so work that was never saved has nowhere safe to be.
- Opening, editing, copying and deleting are file operations the OS provides too.
- Security management is a separate function: it gives different users different access rights and file storage.
The big picture
File management is the operating system function that controls how files are stored. It gives each file a name, places files in a tree of folders so the path to a file shows where it is, moves and copies files, and saves them from RAM to secondary storage while recording where they went.
Key points
Worked example
Problem
Priya has a file maths-notes.docx in the folder Documents / Maths. She wants it in a new folder, Documents / Revision, with nothing left behind in Maths. She also wants a backup of it in Documents / Backup. Describe what the OS does and where the file ends up.
⚠ Watch out
Saying file management is 'what the hard drive does' or 'what the application does'. The storage device only holds data. The OS controls how files are stored: naming, folders, moving, saving and recording where each file is.
Memory hook
Name it, file it, find it, save it. The OS does all four so that 'where did I put that?' always has an answer.
Check yourself
Without looking back: name two features of file management and say what the OS does for each one.
Flashcards
(12)What is an operating system?
What does the file management function do?
Why does the OS give a file a name?
What does a file extension such as .docx or .jpg show?
Can two files in the same folder have the same name?
What is a subfolder?
What is a file's path?
Moving or copying a file: what is the difference?
What happens in the OS when you save a file?
Why is unsaved work lost in a power cut?
Name three other file operations the OS provides.
Which OS function lets some users be blocked from some files?
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 24 November 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.