use clifile from database and fix pylint whining