The key word is "document". You must know the exact names of all your databases and their URLs.
Blog : http://andydalesharepoint.blogspot.com/