I am working on a Java Maven project, and I have gotten to a point where I need to determine if my input from HDFS is either a directory of CSV files or a Parquet file. From my