Fixed new file behavior.
Beginnings of copy+paste