Added emac function to open files in emacs