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

...sn'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.