Restores original 'attach_files' method
Revert "Adapts remaining calls to attach_file"

This reverts commit 7f6f6ee09093f8fea87ed730558c6ddba1af2343.