close file and close all files work now :)