I have a ton of files and they are all grouped in folders. I added each folder separately in the hope Plex would automatically put them in collections per folder but that apparently is not happening. Is there a way to achieve this?
No.
The only way to get (one) collection into Plex from files is to use the mp4/m4v container format. Put the name of the desired collection into the ‘album’ meta tag.