eraseDirectory function

Erase all files in a directory