Trying to fix error

Can't get the file to save to local storage.