creating new directory structure and moving files