fixed # in file() command -- prevfile is now set up right