Epia or other mini-ITX with a mobile CPU should meet your requirements. There are a lot of options out there.
Im guessing you're looking at Linux and other open source software? File server/web server can all be done in software and will depend most on what OS you end up choosing.
Confirm you're not looking at Windows OS and mention a budget range you want to stay in.