script to delete files from a directory