Added support for fileNameFilter parameter so that it's possible to get
specific file(s).