Check file