Bugfix: FileView throws null exception on invalid view type