This line always returns true in PHP 5.3, because $data[file] is string in many cases.

Example: http://us2.php.net/manual/en/function.isset.php#example-5255