Chapter 06 File Management
Chapter 06 File Management
1-1-2023
Clinton Daniel
University of South Florida, [email protected]
Manish Agrawal
University of South Florida, [email protected]
This Book Chapter is brought to you for free and open access by the The Modernization of Digital Information
Technology at Digital Commons @ University of South Florida. It has been accepted for inclusion in
FUNDAMENTALS OF INFORMATION TECHNOLOGY: Textbook – English by an authorized administrator of Digital
Commons @ University of South Florida. For more information, please contact [email protected].
File Management
CHAPTER CONTENTS
Overview 78
Why Manage Files? 79
Using File Managing Utilities 81
Opening the File Managers 81
File Manager Components 82
File and Folder Properties 84
Names 84
Parts of File Names 85
Locating Files 87
Navigation 88
File Paths 88
Search 89
System Generated Folders 92
File Operations 94
Renaming Files and Folders 94
Copying Files 95
Moving Files 97
Deleting Files 99
Restoring Files 99
File Compression and Decompression 101
File Backup 102
Cloud-Based File Management 103
Task or Activity Manager 105
Chapter Terms and Definitions 108
Chapter Case: Ian’s Research Paper File 110
Overview
File management is about creating an organized structure to store information on your computer
for easy retrieval and use. As more and more of our information becomes digital and ends up in our
digital devices—e.g., school assignments on laptops, photos on smartphones, emails in the cloud—it
becomes increasingly important to create an organized structure to store this information, so it is
available when needed. After all, what is the point of taking that keepsake picture with a friend if you
can’t find it later when you need it?
Think of file management as a small-scale/personal version of Google. Google’s vision statement
is “to organize the world’s information and make it universally accessible and useful.”61 Both file
management and Google involve organizing and managing large amounts of data, even if the
methods are different. File management involves developing good habits in naming and organizing
files on a computer. Google uses complex algorithms to organize the vast amounts of data that it
collects from around the world. The end goals are the same. Both file management and Google aim
to make data easily accessible later. As ChatGPT puts it, “in many ways, file management is doing for
your computer what Google aims to do for the Internet.”62
Taking a few minutes to learn how your computer organizes files and to develop good file management
practices may be one of the best investments you make in learning to use your computer effectively.
This chapter will show you how. Experienced computer users consider their file manager as the
starting point of any work. Microsoft computers have File Explorer for file management. Similarly,
Finder—also known as Mac Desktop Experience—is the default file manager on Mac computers. The
icon for Finder63 is “Happy Mac,”64( ).65
Information management in the computer context is called file management because all information
on computers is made available to end users as files. Files have properties such as names, last modified
date, size, etc. These properties help with information location and retrieval. In the rest of this chapter,
we use information management and file management interchangeably.
66 Malone, T., “How Do People Organize Their Desks? Implications for the Design of Office
Information Systems,” ACM Transactions on Office Information Systems, 1(1), 99-112 (1983).
67 Please do not confuse File Explorer with Internet Explorer, which was the earliest version of the
web browser made by Microsoft and was used for surfing the Internet.
Names
Perhaps the most important property of a file or folder is the name. All files and folders are identified
by human readable names. File names should help you easily identify the contents of the file. This is
like labeling a notebook to be able to tell what’s in it. Before a file or folder can be created, it needs
a name. To simplify the user experience, all applications have default methods to assign file names,
even if the user does not provide one. For example, Microsoft’s Office Suite uses the first few letters
in the file to create the default file name. Image programs assign default file names such as “Untitled.
png.” As you can see, while these file names allow the files to be created, they are not very useful
to find the file later. For this reason, one best practice in computer use is to develop a file naming
convention and to use it consistently.
For files that only you are likely to use, a simple convention of naming files by their title or purpose is
sufficient. For example, “hamlet_shakespeare.pdf” would be a suitable name for a personal copy of the
public domain version69 of the famous play. “assn1_english_classx.docx” would be a suitable name for
your first assignment in the English Class in grade X. If you are likely to have multiple copies of Hamlet,
you may like to disambiguate the files by adding the source of these files, e.g., “hamlet_shakespeare_
gutenberg.pdf” and “hamlet_shakespeare_w3.pdf.” Remember, the goal of the file name is to help
you quickly locate and identify the file years later, when the context is no longer fresh in your mind.70
For files that are likely to be used by multiple users, it is useful to develop a convention that makes it easy
for all users to quickly organize and locate the files. A simple convention can be to include the project
name, group/subsection name, and the name of the author. For example, if your English teacher asks
you to submit assignments, it will greatly help the teacher locate and grade the assignments, if each
student adopted a convention to include their own names as well as the name of the assignment in
their submission. For example, “assn1_english_classx_johndoe.docx,”“assn1_english_classx_janedoe.
68 According to Wikipedia, the word “file” to refer to a basic chunk of information on a computer
comes from the earliest days of computers in the 1940s. Program instructions were written on
punch cards and all cards associated with a program were carefully kept in a file. Similarly, the
data associated with a program was also written on punch cards kept in a separate file. You can
imagine computer operators using language such as “load the program from the file.” This name
has stuck. “Computer file,” Wikipedia, https://en.wikipedia.org/wiki/Computer_file (accessed
June 2023).
69 E.g., William Shakespeare, Hamlet, Prince of Denmark, Project Gutenberg, https://www.gutenberg.
org/ebooks/1524 (accessed June 2023).
70 You may have noticed that the examples use lower cases for all file names. This is a matter of
personal preference. Many webservers are configured to be case sensitive and when files are
to be uploaded to the web, it is often easier to just type the file names in lower case. Since the
authors frequently upload files to a case sensitive webserver, they use lower cases for simplicity.
Develop and follow your own convention for file names.
71 For more detailed examples, including the file naming conventions used at Disney, please see
“Jason Boone, “Speed Up Your Workflow with Good File Naming Practices,” https://blog.frame.
io/2018/10/22/file-naming-conventions/ (accessed June 2023).
72 The rules for Windows are in the article “Naming Files, Paths, and Namespaces,” https://learn.
microsoft.com/en-us/windows/win32/fileio/naming-a-file (accessed June 2023).
73 “What characters are forbidden in Windows and Linux directory names?” https://stackoverflow.
com/questions/1976007/what-characters-are-forbidden-in-windows-and-linux-directory-
names (accessed June 2023).
74 Learn more about this here: “%20 in URL—What Does it Mean? [Answered],” https://www.
raymond.cc/blog/decoding-percent-with-numbers-encoding-in-urls/ (accessed June 2023).
75 A good article on file associations is Tim Fisher’s “How to Change File Associations in Windows,”
https://www.lifewire.com/how-to-change-file-associations-in-windows-2624477 (accessed
June 2023).
Locating Files
File managers also help you locate, move, delete, or open files easily. Both Microsoft’s File Explorer
and Apple’s Finder show file names, folder structures, disk drives, and frequently accessed files and
folders. Imagine if you spent hours working on a file but have no idea where you put it. Worse, say
you don’t even remember the name of the file. Before you give up and begin to redo your work, you
should try these two main techniques to locate files on a computer: navigation and search.
File Paths
In the computer world, finding a file relies heavily on the address of the file. The address, aka (also
known as) path, is the location where a file is stored, relative to the top level of storage on the computer.
As you navigate from one folder to another in File Explorer, you can see the current address in the
bar, you can see the path taken to get to the downloads folder is This PC → Local Disk (C:) → Users
address bar at the top of the file manager (highlighted as a blue rectangle in Figure 32). In the address
Search
If you cannot find a file by navigation, file managers also support search operations. The powerful
search feature will look through all the accessible storage media, both internal and external, to find
the file.
1) Enter the name of the file in the search box (see Figure 33).
2) Press “Enter” on your keyboard to begin searching.
FIGURE 33 — Begin searching in File Explorer by entering the file name in the search box.
You can also specify a search criterion to narrow down the search and find the file more quickly. Just
as you can find a favorite lost pen more easily if you know where you last used it, you can tell the
computer where the file might be located to make it easier to find. For example, if you know that your
file is in the Documents folder, you should select the Documents folder, but not any of the subfolders,
to have the best chance of finding the file. File Explorer has a “search ribbon” (highlighted in Figure 34)
with many options to narrow your search criteria.
FIGURE 34 — The search ribbon in File Explorer can be used to narrow your search criteria.
FIGURE 35 — The “Date Modified” option in File Explorer can help further narrow a search.
If you know the type of file you are looking for, you can limit your search to files of that type. To do so,
click on “Kind” and specify the type of file you are looking for (see Figure 36).
You can also specify the “Size” of the file to further narrow the search criteria (see Figure 37).
FIGURE 37 — Using the “Size” dropdown can assist in targeting the search criteria.
FIGURE 39 — Two ways of renaming a file or folder. Top—Right-click menu item to rename files and folders. Bottom—
An editable textbox is highlighted where you can rename files and folders.
Copying Files
By copying a file, you create a duplicate. Copying is
useful in many situations. For example, you may want
to make a copy and start working on it to preserve the
original file. You may also like to copy files to a backup FIGURE 40 — Select “Save As” to save with a new
name.
storage device. There are several ways to copy files.
Some of the most common ways are presented here.
If you are working on a file in an application program, using the “Save As” option under the “File”
menu allows you to save the file using a new name in the current location or anywhere else in the
computer’s file system (Figure 41).
FIGURE 41 — Use the “Save As” option to save a file in the same or in a new location using File Explorer.
Once you copy a file, it is in the computer’s memory. You can then tell the computer what to do with
it. To paste it in any location, navigate to the correct folder in File Explorer, click anywhere in the white
space of the folder, right click to open the context menu, and choose “Paste” (Figure 43).
Copying files to memory is not limited to one file. You can also copy a folder containing many files and
paste it in any location. You can also copy and paste multiple files. To select files to copy, just press
the “Ctrl” button on your keyboard as you click on the files you want to copy. Then right-click on any
selected file to bring up the context menu and select “Copy.” The OS will now have the collection of
all selected files in its memory. Right-clicking on an empty space in a folder will bring up the context
menu for this folder and selecting “Paste” from the context menu in a folder will paste these selected
files into the target folder.
Keep in mind, copying is an overwrite operation. Every time you copy something to memory, it erases
the previously copied content in memory. Only the last “Copy” (a file, a folder, or a collection of files) is
in memory during the copy and paste process. After copying File A, if you decide to click on File B and
choose “Copy,” then the computer has File B in its memory. If you paste, you will paste File B.
Moving Files
Moving a file transfers the original file to a new location. Whereas the copy and paste operation creates
multiple copies of a file, moving files transfers the original file to a new location. Multiple copies
are not created. Moving files is useful in many situations, including reorganizing files, or transferring
from a computer’s hard disk to a cloud storage folder. File managers support multiple mechanisms to
move files.
FIGURE 44 — The “Open new window” option opens a new Explorer window.
Once you select the files you want to move by clicking on them in the first File Explorer window, hold
the left mouse button and drag the files to the desired folder in the second File Explorer window. You
will see the files being removed from the source window and being added to the target window.
Deleting Files
It is good practice to delete files regularly to save space, reduce clutter, and make it easier to find what
you are looking for. One common reason to delete files is to get rid of redundant copies of photos or
videos. Purging unnecessary media files not only saves a lot of space, but also makes it easier to find
interesting pictures. If you are worried about losing important information, you can create a suitably
named folder such as “Unwanted Files” and then organize all unnecessary files in easily identifiable
subfolders within it.
To delete a file, click on the file in the file manager, right click your mouse on the file to bring up the
context menu, and choose the “Delete” option. Another way to delete a file or a collection of files is to
first select them in the file manager, then click the “Home” tab on the File Explorer ribbon. Clicking on
the “Delete” option will delete all the selected files (see Figure 45).
Restoring Files
If you accidentally delete a file and want to get it back, the operating system offers a neat trick to save
your day. When you delete a file, it is flagged as deleted, no longer visible to you in the file manager,
and gets moved to Recycle Bin in Windows and Trash on Macs. The Recycle Bin, like Trash, is a giant
trash can that holds all your deleted files. In Windows systems, you can find the Recycle Bin on your
Desktop. You can also click the Windows Start icon and type Recycle Bin (see Figure 46).
If you have many deleted files in the Recycle Bin, you can use the column headers to click and sort.
You can sort by “Name,” “Location,” “Date Deleted,” and “Size,” or use the search box to find files by
name. Right click on any file to get the context menu to view file properties, restore, or permanently
delete the file.
FIGURE 47 — The Recycle Ben folder’s context menu opens options. The Recycle Bin Tools appear on the ribbon.
File Backup
File backup, or data backup, is the process of creating and storing a copy of data in such a way that
the copy may be used to restore the original in case of data loss. At the end of the day, your computer
is an appliance, just like your dishwasher or a refrigerator. You must always consider the possibility of
losing all the critical files on your computer at any time. While the computer may run for years at end,
it may refuse to start on any given day, without any notice.
Data on computers can become inaccessible for various reasons. A computer has moving parts
including: fans; power supplies; disk drives; and accessories like cameras, microphones, speakers, and
printers. These devices can fail from mechanical shocks and the heat generated by the processor.
What is the solution to protecting critical data files on your computer? The common procedure is to
periodically copy critical files and folders into a USB stick or an external drive that can be reconnected
to a new computer when the old one dies. However, this manual process of copying into external
storage may not work well if you have hundreds of files. It also requires considerable discipline to do
Industrial Backups
Data backups in the industrial environment can get very complicated very
fast. When your computers are serving large numbers of customers, not only
do you have to worry about these computer devices failing, but you also must
worry about power supplies to these devices, as well as the connectivity of
these devices to the Internet. For this reason, TV broadcasters have developed
a complicated solution. They maintain battery backups, which are backed up
by redundant generators that are supplied by diesel fuel sources from multiple
vendors. The broadcasters also maintain multiple connections to the Internet,
deliberately choosing providers with non-overlapping connections to the
Internet. By taking these precautions, a natural disaster such as a hurricane
does not bring the station down.
FIGURE 50 — You can also view your Dropbox folder online, which can be very convenient when away from your
desk.
To share any file with others, right click on the file to bring up the context menu and select “Share.”
(See Figure 51.)
77 You may like to see the original video created by Drew Houston, the founder of DropBox, describing
the service, “Dropbox Original MVP Video,” https://www.youtube.com/watch?v=qxFLfY7_Gqw
(accessed June 2023).
While Dropbox is designed for regular consumers, Box is designed more for organizations. Box focuses
on integrating tightly with the security systems of universities and companies. Employees can use
their company credentials to use Box and send files to other employees for review and approval.
OneDrive is Microsoft’s alternative to Dropbox. Typically geared for enterprises and Office 365 users, it
also offers versioning and collaboration capabilities and a way to access files across many computers.
Just like Dropbox, OneDrive appears as a folder on your computer. All the files stored in the OneDrive
folder are backed up into cloud servers and can be accessible by others, based on sharing rules.
Google Drive is the online cloud file storage system from Google and i-Drive is the equivalent from
Apple. Like Dropbox, Box, and OneDrive, these systems also offer cloud back up, versioning, and
sharing features.
A tradeoff for the ease of using a cloud-based file management are the expenses associated with
these services. Once you are out of the free-trial period or use more storage than offered for free, you
will have to sign up for the service and pay a subscription fee. This model of using software services
for a fee is referred to as SaaS (Software as a Service). SaaS is becoming increasingly popular among
companies as it saves companies the headache of buying and maintaining software and hardware.
For a suitable rental fee, SaaS services can be valuable for a wide range of organizations.78
78 For an alternate view of the economics of SaaS and cloud-based file management, particularly
when companies grow big, you may like to read this article about DropBox and their use of
Amazon Web Service. Sarah Wang and Martin Casado, “the Cost of Cloud, a Trillion Dollar
Paradox,” https://a16z.com/2021/05/27/cost-of-cloud-paradox-market-cap-cloud-lifecycle-
scale-growth-repatriation-optimization/ (accessed June 2023).
FIGURE 52 — Windows Task Manager offers different view of the applications running on the computer.
FIGURE 53 — Activity Monitor on Mac, offers similar functions as Windows Task Manager.
Activity Monitor: A utility provided by the File Decompression: The process of restoring
Macintosh operating system that is designed a compressed file, such as a ZIP, to its original
to report how your Macintosh computer is content form
distributing and processing disks, memory, or
network communication File Extension: After the name of a file, followed
by a period is a sequence of letters that indicate
Cloud-Based File Management: The process of the format of the file; operating systems use the
storing data with a cloud service provider while file extension to locate a default program which
working with the data as if it were stored on the will be used to open and execute the file
local computer
File Management: Creating an organized
Copy and Paste: To transfer text or some other structure to store information on your computer
type of content, such as an image to another for easy retrieval and use
location in the same or different document; for
example, in Microsoft Windows this can be done File Manager: The User Interface (UI) in which
with “Control + C” to copy and “Control + V” to you can interact with the files and store them
paste content
File Operations: A computer operating system
Cut and Paste: Similar to copy and paste, but allows for the manipulation of files; such as
instead of leaving the original text or content create, edit, and delete
intact, the original content is removed and
transfered to a new location
File Path: The absolute directory on a computer
where a file is located; for example, the absolute
Drag and Drop: Using a mouse button to click file path for a file named hello_world.docx
and hold onto a software object such as an image located in the Documents folder of a Microsoft
or file, drag it across the screen, and then release Windows computer could be: C:\Users\Clinton\
the button to relocate the object Documents\hello_world.docx
File Backup: The process of creating and storing Mac Finder: The file manager UI used by the
a copy of data in such a way that the copy may Macintosh operating system
be used to restore the original in case of data loss
Recycle Bin: Where Microsoft Windows stores
File Compression: A process that reduces the the files deleted by a user before they are
space a file takes up in storage and increases permanently removed; it offers an opportunity
the speed in which it can be transferred from for a user to recover files before they are
one computer to another; for example, a ZIP file permanently deleted
contains one or more files from a folder that has
been compressed
Question 1: What possible file extensions would be used to write Ian’s research
paper?
Question 2: What should Ian do to save the work he partially completed on his
research paper file after using his mom’s laptop on Saturday?
Question 3: What should Ian do to save his research paper after completing it
using his personal laptop on Sunday?
Question 4: What cloud-based storage should Ian use to submit the final version
of his research paper for his Monday class and how will his teacher
access the file?