implementing GET file