cmhw: check if file exists instead of just returning true

Change-Id: Ie345fb46b15e7381ed205d288a5db3a67cb196e7