[JBIDE-14647] creating FileRepository via builder to avoid internal
class