Renamed folders into get_folders and added support for additional secret parameter