Finalized file comparator and added comments