Removing extention directory