(BugID: 100043) Fix PHP fatal error

Make sure file exists for the given page. Fixes the following fatal error:
PHP Fatal error: Call to a member function getName() on a non-object in VideoHandlerHooks.class.php on line 248