Automatically add filename when saving file