Use fseek() instead of fread() to skip the body file header line, so
drwxr-xr-x - configs
drwxr-xr-x - doc
drwxr-xr-x - src