Eliminate dependence on folder name

Resolves #22
Wouldn't this be better?

```php
if ( basename( $key, '.php' ) == $file ) {
```