changed putting empty file into copying empty file