Save files to local storage.