Added doc templates.
maxFiles attribute added (for testing)