Creating error tracking files

Change-Id: I3378284ad3a1865ed50cc2c7454f3093ee4e90a5