Mac file type handling