removed try-catch block, removed registerFileMap-parameter in constructor