documents: handle not-(yet)-uploaded files
Merge commit 'github/testing' into beta