added filedetails struct