CMS-3080 NullPointerException if folder contains folder without access (or that file.listFiles() returns null).
CMS-3158 Ticket id should be seperate from session id.