Cleaner api for loading the casper files