add file details struct