use the committed method rather than opening the file just to get the filename
Merge branch 'master' into get_file
Merge pull request #7 from collective/get_file

use committed() instead of opening the file just to get the filename