def parseFile(self, file=None):
        if file is None and self.defaultFilename:
            file = open(self.defaultFilename,'r')
            
        for line in file.readlines():
            # Strip out comments
            comment = line.find(self.commentChar)
            if comment != -1:
                line = line[:comment]

            # Strip whitespace
            line = line.strip()

            # Skip empty lines (and lines which only contain comments)
            if not line:
                continue

            self.parseLine(line)
Retrieves the login profile for the specified user.
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/runner/inetdconf.py/SimpleConfFile.parseFile--crossover with--dataset/ETHPy150Open darcyliu/storyboard/boto/iam/connection.py/IAMConnection.get_login_profiles