add path relative to the files folder of the currently logged in user to the output of getFolderContent()
fix infinite loop if folder and subfolder has the same name