updated to properly exlude binaries