add file exists check(create file if the file not exist)

Change-Id: I30fa55926ce3567b8a13473c01a2a1c4627d2fa0