Formation and Eruption Process of a Filament in Active Region NOAA 12241