Changed dir_list to paths