don't read the whole file in command-line tools