Edit: you want someone cheap. Windows Server 2008 R2 will not fit the bill unless you go the ahem way.
As a router, nothing beats pfsense. For file sharing, WHS 2011 with flexRaid is good. I don't know which Server OS will have these two functionalities in one.