Basic wrapper for the compiler

opens files, writes to them, closes them