polish the context inside multiple files