added record numbers to logging,timestamp to filename, removed exceptions