import os

from file_generator import FileGenerator


class RandomFileGenerator(FileGenerator):
    def __init__(self, directory, prefix='', suffix='', filename_length=10):
        super(RandomFileGenerator, self).__init__(directory=directory,
                                                  prefix=prefix,
                                                  suffix=suffix)

    def make_file(self, size, filename=None, filename_length=10, **kwargs):
        super(RandomFileGenerator, self).make_file(size=size,
                                                   filename=filename,
                                                   filename_length=filename_length,
                                                   is_binary=True,
                                                   **kwargs)

    def generate_file_content(self, size, **kwargs):
        return os.urandom(size)


@@ -116,59 +116,16 @@
 lf, 
-directory, prefix='', suffix='', filename_length=10
+**kwargs
 ):%0A 
@@ -177,570 +177,147 @@
 t__(
-directory=directory,%0A                                                  prefix=prefix,%0A                                                  suffix=suffix)%0A%0A    def make_file(self, size, filename=None, filename_length=10, **kwargs):%0A        super(RandomFileGenerator, self).make_file(size=size,%0A                                                   filename=filename,%0A                                                   filename_length=filename_length,%0A                                                   is_binary=True,%0A                                                   
+**kwargs)%0A%0A    def make_file(self, **kwargs):%0A        kwargs%5B'is_binary'%5D = True%0A        return super(RandomFileGenerator, self).make_file(
 **kw

remove duplicated param passing from child's method to parent's method