Running client code from bin directory.
Using char array instead of string for storing filename.