It now only adds files to ap.add_files.

This fixes #5.