Nope, it doesn’t. Free avast does not include any firewall. Which previous AV you had installed? Also, if the network profile is set to Public, file/printer sharing will be disabled by Windows Firewall.