Added remove local files functionality