If you have too many source files opened, especially files you no longer need to view, it will make it more difficult for you to switch between files you are interested in. Having many files open at once may also consume a large chunk of memory.
This, to close a file, select File | Close File or press the close file icon on the tool bar. To close all files in a single step, select File | Close All Files or Window | Close All.