#1261: Use correct property for filename, rather than the string 'filename'.