unnecessary abstraction
check that home is a dir