Fix filename directories