def remove_empty_startapp_files(self, app_label):
        """
            Removes 'empty' (less than or equal to 4 lines, as that is what they begin with) views, admin, and tests
            files.
        """
        for file_name in ["views", "admin", "tests"]:
            file_path = "%s/%s.py" % (app_label, file_name)
            if os.path.exists(file_path):
                num_lines = sum(1 for line in open(file_path))
                if num_lines <= 4:
                    os.remove(file_path)
dataset/ETHPy150Open krisfields/django-baker/django_baker/bakery.py/Baker.remove_empty_startapp_files/original