A two-story barn was destroyed and an attached farmhouse made uninhabitable by a fire Sunday on Foxes Ridge Road in Acton.