File check for csv