Use the correct path to error files