fixed file directory naming bug