Added a toString function that returns name and path of the file