make getUidAndFilename() private