fileInfoToDom works now