added ability to ignore directories
Merge pull request #110 from bolandrm/exclude_directories

Added ability to ignore directories