In fact you need one server and one router. File server, and a router for distributing Internet. As a server I strongly recommend something like
tinyurl.com/j665ara
It is a good piece of hardware, with a remote control, and all this, with a basket on 4 disks and the ability to pick up another one inside (for installation of the system, for example). As a system it is possible to put FreeNAS, for example.
Router-can any Mikrotik, even household RB750. Or if you really want to Tinker -- any computer with two slavoski and installed aboard FreeBSD/Linux.