An engineering factory was seriously damaged after a fire ripped through the premises in the early hours of Monday morning.
Firefighters were called to the Proclad Group premises in Glenrothes just after 1am.
Five crews took around three hours to bring the blaze under control.
The company, which is involved in precision engineering for the oil industry, employs 160 people. However, nobody was hurt as a result of the incident.
It is understood the fire started during refurbishment in the shot blast shed.
Duncan McDougall, operations director at the firms, said: " We were replacing the steel floor in the shot blast shed. It was a health and safety issue that we were addressing.
"Unfortunately, it would appear that during the welding process that something has ignited.
"We will need to investigate exactly what happened there. But the fire took place at the back of the building and a guy went to extinguish the fire but by the time he got back it had taken hold and the fire extinguisher wasn't enough to deal with it so we had to make a call to the fire service to bring them out to deal with it."
Feedback: We want your feedback on our site. If you've got questions, spotted an inaccuracy or just want to share some ideas about our news service, please email us on email@example.com.
Download: The STV News app is Scotland's favourite and is available for iPhone from the Apple store and for Android from Google Play. Download it today and continue to enjoy STV News wherever you are.