Validate the csv file on import

#4220 
![blog entry john](https://f.cloud.github.com/assets/1222368/1420002/25ead16c-3fd8-11e3-8df5-eb9bf365e889.png)