timestamp added to raw file name, add counter to csv (fix data timestamp chunking), write bad data to csv