MergeFiles: extended file type support and added ability to delete old joined parts