Added in additional file parameter to __init__