removed fstream-related code, dependencies and functional tests