Moved dir_list_free