OSX App file code