verify existence of file in storage

I have been asked to write an API which will verify the existence of documents in their specified storage location. (Basically to make sure there are no files that show up in PW which don't physically exist.) I can envision a couple of ways to do this depending on what PW functions are available.

1. If there is a document function which will indicate whether the file exists in the designated storage location this is a simple Boolean task.

2. If option 1 is not available, is there a way to return the physical path on the storage location that the document is supposed to reside in so I can check for the existence of that document?

3. Use of an existing verification process which my PW Admin is not aware of at this time.  

Any advice or suggestions are helpful.

Thanks,

Stephanie