Use $file. rather than $file.sed when $file is or might be more than 10 characters long. From-SVN: r4497