fixed file size counting