Implemented java class for creating the documents filled