The fire that broke out at a polythene factory in Old Dhaka's Chawk Bazar area was brought under control after two hours.