It also doesn't account for redirection. Lot's of file-services use redirection for files. In that case you will always get a 3xx redirect on every possible filename. So if that's the purpose you need to do some manual work to follow the redirection to its final source and see if it throws an error-page.
So, if you need more information you will also need to provide us with more information.