quick ispell help

Hi, I am trying to write a script that calls ispell (my linux version doesn't have aspell) on a file and runs from there. Pretty much looks like this at the beginning:

#!/bin/bash
# script that will spell check a file


read -p "Enter a file name: " fileName

ispell fileName

I just want this to prompt for a filename, then run ispell on that file. Also note that I do know you can just type $ ispell file and it will run, but I want it to run this way. Any help for this beginner?

You can install aspell on any version of Linux.

read -ep "Enter a file name: " fileName
ispell "$fileName"

oh I see, I needed to clarify filename...quick question, I had -p and you changed it to -ep, whats the difference?

$ help read
  ...
  If -e is supplied and the shell is interactive, readline is used to obtain the line.
  ...

It enables editing of the line as it is being input.