<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def parseFile(self, srcFile, closeFile=False):
 """Parses CSS file-like objects using the current cssBuilder. Use for external stylesheets."""


        try:
            result = self.parse(srcFile.read())
        finally:
            if closeFile:
                srcFile.close()
        return result