It now only adds files to ap.add_files.

This fixes #5.
Merge pull request #6 from mad-eye/dirs

It now only adds files to ap.add_files.