added filecheck