Update acfilereader.c

Optimise whitechar management