Yes, The "Drag, Drop & Upload Files to Amazon S3" app does the same. You can upload the files to cloud storage, from salesforce and then it will generate links to these files, and connect them to the relevant records in Salesforce. and then automatically delete the files from Salesforce to free up storage space.