First, I would set up a Scanner object on the file. Which is strangely absent from your code.
o.O
Second, you're using an array with a fixed size. This is a no-no, but I'm guessing it suits your needs for the time being. ArrayLists are better and SAFER. You'll learn about them next semester. =)
I would setup a while loop (or a well-made for loop) whose condition is that the
Scanner hasNextInt. Within the loop, I'd grab the integers using the Scanner's getNextInt and put them into your array.
I'd also have a variable that keeps count of how many integers I'd parsed in and place them in the appropriate array index.
When the integer gets parsed in, I'd increment a second counter for each int less than ten.
Notice how I'm not writing any code. This looks a lot like homework.
Hope you make a good grade!
=D