assert file size is expected