Added "-d --" to invocation of ls when figuring out what files