arrange files in packages