a smart solution for DS_Store pollution