fixed filename bug in shell