Add initializer to read doc files only once