It doesn't matter how many files there are as long as the appropriate identifiers are there.
It is easier to do things in one file, as that way you don't have to worry about scope issues (if you are trying to do things in multiple files, you may have to duplicate entries at the top of your files).