#394 first spike of checking for existing files when creating a new file