Check file contents