fix file position in directory structure