cleanup image and file documents

clean up the documents so we can better use them