Fixed file parameter initialization issues