Gets rid of unecessary directory