add file struct