Add response-fn to file input.