CHDIR method