Fixed error, wrong position of closing bracket in 'if(strlen(->getFileName() > 0)){'
Commented some unused and buggy code, since not used with current model structures of documents