Fixed a bug with setting the filename.