Also, unless you are the *only* one using the file system, you run the risk of having an out of date directory structure. Imagine what will happen in your program if someone else (network share?) deletes a directory or file after you have built your hash.