Next, you go into the first snapshot directory, and find the most deeply nested directory in the snapshot.
Additionally, you open up a temporary file for writing.
Now, for each file in the most deeply nested directory, you perform the following three steps: