compile and run files