Collects a list of target files within a directory, applying custom ignore patterns.
Respects ignore rules from .repconignore file if provided.
Returns a vector of relative paths to the files that are not ignored.
Splits the target files into chunks based on a maximum file size.
Generates multiple files if necessary, each containing a portion of the target files.
Returns a vector of paths to the generated files.