fix for to many open files problem with ocs assets and categories files. PRIS-102