wfile fix