Added check to avoid crashes when some column names are missing. Ignoring csv and pdfs.
Make it possible to strictly parse the csv