make sure files is always initialized