@staticmethod
def read_testcase(testCase):
    """
        Read a testcase file, return the content and indicate if it is binary or not.

        @type testCase: string
        @param testCase: Filename of the file to open

        @rtype: tuple(string, bool)
        @return: Tuple containing the file contents and a boolean indicating if the content is binary

        """
    with open(testCase, 'rb') as f:
        testCaseData = f.read()
    noopBytes = bytearray(range(256))
    textBytes = bytearray([7, 8, 9, 10, 12, 13, 27]) + bytearray(range(32, 256)
        )
    isBinary = bool(testCaseData.translate(noopBytes, textBytes))
    return testCaseData, isBinary
