how to solve the file problem?