Adams County fire says it was an electrical fire that started in the engine compartment of a large piece of machinery that spread to a nearby recycling pile.