Rite Aid gets court OK for nearly $3.5B in bankruptcy financing