file setup for rrr