Which is the best way to manage attachment files?

1: put all files into one folder, only use references and categories to manage them.

2: put files into some folders, also use reference and categories.

Which one is the best way or which one is the recommend?

It is recommended to put all

It is recommended to put all your files under the "attachments" sub-folder under your database folder. If you do this, the attach path stored is a relative path instead of an absolute path. When you move your database to a new machine, the path will still be valid. If you put the attachment files in other places, the links will be broken when you move your database from one machine to another.