fetch local file if dev server