check if filename is String in excel.rb