Is there any way how to check if specified url is a regular file? (like in mod_rewrite RewriteCond -f)