Thanks for the feedback, it looks like I forgot to include that in the manual! That's something I'll have to fix.
There's no precise formatting requirement other than the input file be an ASCII text file. It just scans byte by byte and treats anything that's not an ASCII letter as a word break. For languages with accented characters you'll have to search and replace them with an ASCII approximation. You can specify other input and output filenames, the command syntax is buildnam input.txt output.nam.
There's no limit to the file size, as it will read through the file, discarding any letter sequences if that particular letter group is full, and each letter group can have up to 255 letter sequences in it. The main reason you'd want to limit file size is just to limit run time, but if you're building the output file once during development that shouldn't matter too much. But jf you're reading through a list of existing names, it's best to make sure the list is unsorted so that the initial consonant and vowel letter groups don't get filled up with just the start of the alphabet.