base struct for public files