add check for csv filename extension when loading consist