Trying different way to get correct sub-directory