also add similar check to homedir
refactor code, add directory_verify_owner sub
add unittest for directory_verify_owner sub
goodbye irrelevant comment
use FileWriter stringification
remove initialize_acls method