def respond_with_package_list(page_path):
    file_path = path.join(root_folder, 'api', page_path)
    if (not path.exists(file_path)):
        return make_response((path.basename(page_path) + ' not found'), 404)
    return send_file(file_path, mimetype='text/plain')
def respond_with_package_list(page_path):
    file_path = path.join(root_folder, 'api', page_path)
    if (not path.exists(file_path)):
        return make_response((path.basename(page_path) + ' not found'), 404)
    return send_file(file_path, mimetype='text/plain')