remove ds_store
moving code to top-level