Updated error log to contain file name