Add parameter to enable/disable file comparison

Add parameter to enable/disable file comparison to speed the process if we don't want the script to upload modified files.
This code speeds a bit the file upload since only 1 md5 is generated instead of 2 when uploading a new file.