These buildings are in a historic part of Townsend, MA called Townsend Harbor. It sits along the Squannacook Brook by a millpond. Dams that once channeled water to use for power are still in place. The building in the top photo is now an antique shop and the one in the photo below has a sign that says “Grist Mill”. According to Wikipedia, these were once used to make a type of artificial leather from pulpwood and scraps of leather. They date back to at least 1873.