introduce "Asset" code for loading files on Mac