Initial script for processing duplicate file