could be called stat_file