Error handling when operating on a new view
All the file creations should be recorded when working on a new view, and said files should be deleted if an error occurs.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information