If `protoFiles` is empty we should list all files in the directory.