figure writing filetypes