Saves files in localStorage