Fixed exiting when file does not open, removed main compiled file