Need to check for null resourceAsStream, not resourceAccessor