Added support for custom attribute to files and folders

I added support for saving custom attributes on file upload and folder creation.