i don't konw how can i solve this problem by file hendling code