fixed mock file loading