added file dump option