renamed listFiles() to getFolderContent(). fixed comment: the method doesn't return a "list of files in a directory, including dotfiles", it returns a "list of files and folders, excluding dotfiles". switched from !is_file() to is_dir() check.
Merge pull request #2949 from jakoch/patch-3

renamed listFiles() to getFolderContent(). fixed comment: the method doe...