redefine files struct