Fixed saving issue. Unless database is destroyed, file saved names will correlate with their msgID.