format changes

other format for events in the filearray
other format for events in the database (space-seperated)
the count of events per file is now counted