Added SwingWorker to remove freezing during large files