Added back dump file functions