Updated crashing when file not copied