on file input.