If you're just going to be doing file and printer sharing, Linux will work marvelously if you run Samba services. Samba implements SMB protocol so it looks a lot like an NT Server to the workstations. As long as you're not running Microsoft served-based programs (e.g. Exchange), Linux will do everything you need at much less cost and generally better stability.
As far as the Internet sharing and firewall, I would suggest that you run a separate box for that. With a old 486-class machine with 12meg of RAM, 2 NIC cards and no hard drive, you can run LRP software (Linux designed to run from a floppy) and get all the routing and firewall protection you need (including VPN if you like). More info at www.linux-router.org on that.
regards!
paul