Put files in proper directories