switch to json encoded file list