'Return the opened cached file, if the file can\'t be found then
return None'

@staticmethod
def getCachedFile(filename):

    chartFile = S3Chart.getCachedPath(filename)
    if chartFile:
        try:
            f = open(chartFile)
            return f.read()
        except:
            pass
    return None
