change sysfs name to file as the functions are useful outside of sysfs