Document API: Add figure files to file list of document.