Filtered files correctly and simplified recursive descent.  Added file content replace regular expressions.
Added image-specific functionality, which will ultimately be moved to a module.