Added the option to remove the files after they are uploaded.