A script to parse any directory to create grub configuration