save pub file