Changed filename for save to be optional and use loaded image path