To go back to your first post. There are other things in it. You don't appear to be closing the Scanner. That is hazardous because the file might remain open for ever. You should always close Scanners, readers, streams writers, etc, pointing to a file. The best way to do that is with
try with resources (Java7+).
Don't catch the two unchecked exceptions on lines 18 and 28. If they occur (which they won't), the file is corrupt and you will have to terminate the program regardless. Avoid System.exit, which can be dangerously vicious terminating things. Consider declaring that the constructor throws the FNF exception and letting some other code deal with it. Look at this loop:-
Why are you using a file input stream? Use a
FileReader for a text file. In which case inputStream becomes a bad name for the Scanner; try fileScanner or numberScanner instead.
Don't use number literals if you can possibly avoid it. Write the heading for the for loop like this:-
for (int i = 0; i < myArray.length; i++) ...
Always start with that format which is certain to run without exceptions, unless you use i + 1 or i − 1 or similar, in which case you will have to change the loop header slightly.