Add helper that convert file->string