add fileExists parameter to resourcemgr instances