DirectoryLoader and Chunks

I am loading a folder with several pdf files with the DirectoryLoader. The number of docs created is greater than the number of files, indicating that chunking has occurred. I am surprised that there is way to control the chunk size and overlap, and specify a text splitter. What is the recommended practice if I want more control of text splitting? Thanks.