file storage saves to db and assigned folder

assign() not ready yet to work with temporary files.