Fix Asset.formForFile in a partly better way