fixed method call with changes made to FileList.addFile