added new FilePair class. Will change linkedList to be of that type
intergrated filePair. it worked