Attempt to write cli tool for rest_api_files for ownCloud