added report filename check