Now use regexp on FileEvent to get file name and the containing path.
Removed commented out variables
formatting.