handle files from different architechtures