📘 CodingMarble Learn

File Management: Files, Folders, Paths and Backups

A file is named data; its extension tells its type. The operating system keeps files in folders that form a tree, and a path is the route from a drive to a file. Good file management means clear names, a logical folder plan, the right drive (local, external, network or cloud), regular backups (3-2-1 rule), archiving old work and protecting files from malware.

🎬 Step-by-step story

  1. A file is named data. The extension after the dot tells the file type.
  2. Folders hold files and other folders, making a tree.
  3. A path is the route from the drive to a file.
  4. Good names: short, clear, no spaces, dates as year-month-day.
  5. Maintenance: copy vs move, recycle bin, 3-2-1 backup and zip.
  6. Free play: choose a file and see its full path light up.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why can’t my computer open a file with an unknown extension?

The extension tells the OS which program to use. Without a matching program it cannot open it (step 1).

What is the difference between a file and a folder?

A file holds data; a folder holds files and other folders. In step 2, folders are branches and files are leaves.

Why does Windows use \ and Mac use /?

Different systems chose different separators long ago. Both show the same route (step 3).

Why avoid spaces in file names?

Some websites and programs break names at spaces or change them to %20. Hyphens are safer (step 4).

Is copying to another folder on the same laptop a backup?

Only a weak one. If the laptop breaks, both copies are lost. Use 2 kinds of storage and 1 off-site (step 5).

How do I find where a file is saved?

Use search or check its path. In free play, pick a file to see its path light up.

Files, extensions and the operating system

A file is a saved piece of data with a name: a document, photo, song or program. Most names have two parts: name.extension.

The operating system (Windows, macOS, Linux, Android) has a file manager (File Explorer, Finder, Files) to create, open, rename, copy, move, search and delete files. It keeps programs in their own folders (such as Program Files or Applications) and your work in user folders (Documents, Pictures, Downloads).

Folders, paths and drives

Folders make a tree

A folder (directory) holds files and other folders (subfolders). Together they form a tree: the drive or root at the base, folders as branches, files as leaves.

Strategies for organising

Paths

A path is the full address of a file. Windows: D:\School\Science\lab-report_2026-09-12.docx (backslash \). macOS and Linux: /School/Science/lab-report_2026-09-12.docx (forward slash /).

Choosing a drive

Size units: 1 KB ≈ 1,000 bytes, 1 MB ≈ 1,000 KB, 1 GB ≈ 1,000 MB, 1 TB ≈ 1,000 GB.

Naming files and everyday file operations

Naming rules

Operations

Backup, archiving and protecting files from malware

Backup

A backup is an extra copy in another place. Use the 3-2-1 rule: 3 copies of important files, on 2 kinds of storage (for example laptop + external drive), with 1 copy off-site (cloud or another building).

Archiving

An archive stores finished work you rarely need (last year’s projects). Zip it, label it with the year, and keep it on cheaper storage. Archive ≠ backup: an archive may be the only copy, so back it up too.

Safety from malware

Malware is harmful software: viruses, worms, spyware and ransomware (locks your files and demands money).

Key formulas and definitions

Worked examples

1. Write the Windows path of the file trip_2026-05.jpg kept in the Photos folder on drive D.

D:\Photos\trip_2026-05.jpg. On macOS/Linux style it would be /Photos/trip_2026-05.jpg.

2. A class has 40 photos of 5 MB each. Will they fit on a 256 MB pen drive?

Total = 40 × 5 = 200 MB. 200 MB is less than 256 MB, so yes, with 56 MB to spare.

3. Rename these badly named files: “final FINAL 2.docx” (history essay) and “IMG001.jpg” (science fair, 3 March 2026).

history-essay_v2.docx and science-fair_2026-03-03.jpg: clear topic, no spaces, version or date in a sortable form.

Common mistakes

Practice quiz

1. In report.pdf, the extension is:
2. Which shows a path?
3. Moving a file:
4. The 3-2-1 rule is about:
5. Ransomware is malware that:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is file management?

Creating, naming, organising, storing, backing up and protecting files and folders so you can find and keep your work safely.

What is the 3-2-1 backup rule?

Keep 3 copies of important data, on 2 different kinds of storage, with 1 copy off-site.

What is a file path?

The full address of a file from the drive through each folder to the file name, e.g. D:\School\Science\notes.docx.

Where this is taught

Canada (Ontario)Grade 11Digital Literacy
Canada (Ontario)Grade 11C. Computer Environments and Systems
Canada (Ontario)Grade 11C. Computer Environments and Systems
Russia7 классDigital literacy
Russia7 классDigital literacy

Learn first

Learn next

Related lessons

All Computer Science lessons