Bad filename bug fixed.