corrected check for go file