use NSLog to list files