Added the ability to to select a new created file.
Currently not fully tested.