This completes the documents file