PROBLEM: The inputdoc data were not recovering well, so the allowed extentions were not validated. SOLUTION: Some lines of code where added to recover the inputdoc allowed extentions and other data, that is necesary for the validation.