Added displayFileDialog to MacOSX