It is recommended that you replace the brake fluid whenever any part of the brake system is opened or replaced, including the front brakes. This is because brake fluid is hygroscopic, meaning that it absorbs moisture from the air. Over time, this moisture can cause the brake fluid to become contaminated and less effective, which can lead to reduced braking performance and increased wear on the brake system components.
You should also consider flushing the brake fluid every 30,000 miles or two years, whichever comes first. This will ensure that the fluid is fresh and free of contaminants, which will help to keep your brakes performing properly and safely.