Some more progress, but now I need to make it handle error messages...
Ignore .DS_Store files.