Check file status