further tweaks to afilereader