added fileinput() and noOfRows()