file uploader, and localStorage