Added dirname import