Put files into different directories