Corrected few bugs. Added find files by extension.