abstract file entry generation