Distribute files by type