If you have a home network and want to allow file and printer sharing between computers on your network, then leave the file and printer sharing box checked.
The latter is a result from an optional Windows Update software download that was recently performed. If you are going to use the Network Diagnostics tool for XP then leave it checked, otherwise, uncheck it.
Hope this info was helpful.