Add test code to see if a file is executable