All that stuff that happened 

May break if you run it depending on whether your system generates .DS_Store's or the like in the folders containing the text files.