Moving file param to subclasses