convert and save the file