added saving and changed a file name