Is there some function that allows you to do what t3lib_div::getFilesInDir does but set a limit to the number of files returned? I looked through the api but couldn't see anything, I want to get just the first file in the directory. Thanks.