Modified toString method. added a file path variable and modified
constructor.