Escape the blanks in filename and update of regexp