added a testcase for Foldermanager._getFiles()
improved Foldermanager._getFiles()