Small Fixes

Added using statement for opening file.
Deleted unuseful using namespace.