Fire crew working to contain flames in New South Wales