Improve delete-dir

Silly to ask for strings and then convert to files, rather than just asking for files.