[refs #1302] - adds a return value to set_contents_from_filename

As explained in issue 1302, `set_contents_from_filename` returns anything.