make some changes to file distribution