check whether correct file online