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

...ed file actions