adding files api  to retrieve files by ids