frontend: allow loading states from specified file