updated filecounter because i had to restart
doesn't work