add file exists check

Change-Id: I30fa55926ce3567b8a13473c01a2a1c4627d2fa0