replacing dirname( __FILE__ ) by just __DIR__