Limiting sharding only to .java files.