Could you map please this points whit  the test body itself.
For example
1) Create a monitoring directory.
......Code that creates a monitoring dir....
.................................................................
 2) Setup dummy files for glob.
....Code that sets dummy files....
...................................................

Then it looks more obvious