getfile is working