switcing to using a client rather than class level methods for API's main entry point.
improving file selection api.