fix - file data copied partially