This is probably a stupid easy to answer question but it's late :P Is 
there an exception raised when you do not have permission to access a 
file? There probably is but I'm too tired to think straight.