Usage: Acti2SHM If the argument is a valid CSV file path Acti2SHM will parse the input CSV file and create .act files for each day in the CSV, then exit. It first creates a folder with the same name as the input CSV file, then creates files for each day inside the CSV. If there is no second argument, the program will exit. If the argument is an invalid path, behavior is undefined (it will probably crash). Events files are created with Start and End time so that Phoneview can show this information. The start time for the first day comes from the CSV file. All subsequent days start at midnight 12:00 AM. For example: Acti2SHM TMH_001_1-10-17-IMU.CSV runs the program and creates the following files: TMH_001_1-10-17-IMU/ 2017-01-10.act 2017-01-10-events.txt 2017-01-11.act 2017-01-11-events.txt 2017-01-12.act 2017-01-12-events.txt 2017-01-13.act 2017-01-13-events.txt 2017-01-14.act 2017-01-14-events.txt 2017-01-15.act 2017-01-15-events.txt 2017-01-16.act 2017-01-16-events.txt 2017-01-17.act 2017-01-17-events.txt 2017-01-18.act 2017-01-18-events.txt