throw on bind error, bind for std::string
file info logic and test