fixed bug that prevented a newly created file to be opened with register...

...ed files actions