added function to save files & added option to upload files to current list