@Vinay_Kumar please provide more info. You are writing the the ArcGIS REST JS forum, are you using this technology? This is mainly to access ArcGIS REST/web services.
What is the File Object? Is it the KML? It is hosted in ArcGIS?
Please share as much information as you can (to help us to help you) 😉.