Modify VPN function to require file path