making loading the custom files a func