# Source - https://stackoverflow.com/questions/45535861/automate-process-for-merging-csv-files-in-python?newreg=4b233792ea5540e9b7def53147e66644
# Posted by candid
# Retrieved 04/11/2025, License - CC-BY-SA 4.0
for file in os.listdir(DATA_PATH + 'datafolder/'):
if file.endswith('.csv'):
abs_path = os.path.abspath(DATA_PATH + 'datafolder/' + file)
print(abs_path)
data = openFile(abs_path)
data2 = someFunction(data)