fix issue 352 - require 'file' to be a string

fix issue #352 by requiring 'filename' to be a Value::STRING