How to send QGroundControl parameters and waypoints to the autopilot firmware

How to send QGroundControl parameters and waypoints to the autopilot firmware. Which file in QGroundControl store waypoins data?