Passing file name and directory to dwarf.