Added documentation for listFilesHavingExt function.