rename "repositrory", refactor with (Class.getResourceAsStream())