add compile from string and file