rfile dumping option and bugfix
bugfix