update queue_save to accept 'save to filename' instead of just 'save filename'