Added support for ignore files with specific file extensions.
Finessing the extraction of file extensions from file names.