You cannot really “create” folders.
But you can fake a folders system using DB.
Create a Folders things.
Create a Files things.
Link both together and you can both all of this to user. this can also be linked to project or any other DB.