add document, check configuration files