-f option supports different input formats.