Refactor file and jar asset resolvers to reuse more logic from abstract super class