add exception when file cannot be found