Could you be more descriptive about the problem? Not picking up the emails in the file doesn't really explain what is happening. What input are you giving? What output are you expecting? What output do you get? Be as descriptive as possible. Feel free to write an entire paragraph or three about it.
Compiling and running doesn't help as much without the input file or an example of an input file that fails.