collective/collective.xsendfile — pull request #7 by displacedaussie (2014-08-31 12:38:19+00:00)
Title: use committed() instead of opening the file just to get the filename

committed() returns the filename. Use this method instead of opening the file, reading the filename, then closing the file.