only format a file if it is a go-file