add function to run files in .bin and bin dirs