The code for this is on GitHub at https://github.com/spconger/HandlingFiles/tree/master/HandlingFiles
Here are screen shots of the program running
Here is a screen shot of the file in the folder