use catalog in top-level file check