dirname( __FILE__ ) to __DIR__

Change-Id: I06964b1599d5558a45ceb3043386ba9f62cdf7ee