Organize files in different directories