- Added escaping of "'" characters in filename in SQL.