modify size method return 0 while file not exist