cleanup directory, rename files