Usually you don't have to (edge cases aside), but it is a good developer's mindset to release resources as soon as possible, so these can be used by other processes, and to reduce the load on the system. That is all resources, not just files.
Personally if I don't close a file it does not feel right - a bit like walking out the door without my trousers on.