There were fears the centuries old cottage home of the Davidson family near Brechin might be lost forever.