removed shank collumn (for now) and added more units
flushing and closing arf files in an attempt to prevent corruption