Bugfix for open files (consequence of previous bigfix).