fixed not existend file object