copy file path for mac only