Unless I am missing something:
I am not sure what would you achieve, having an array of document objects (or pointers to). What you need is information about files that were saved by documents that belong to a project.