no more need for a try catch block as we're not loading files anymore.