Added support to insert snippet for file names with spaces