There's no reason to call access() before stat() since stat() will fail (return -1) if the file does not exist.