API page: http://api.drupal.org/api/drupal/includes%21bootstrap.inc/function/drupa...
Enter a descriptive title (above) relating to drupal_get_filename, then describe the problem you have found:
There is no mention of what happens when the file is not found. A quick test returned a binary zero. There may be other possibilities in the code.