Split file and folder name
full = '/home/matz/bin/ruby.exe' File.split(full) # => ['/home/matz/bin', 'ruby.exe']