Creating a new resource reader