File api get by id.