Added check for whether files already exist

1. Added code to check whether files to be downloaded already exist
2. Commented out overlay functions because handling of overlays is a bit
tedious and the feature is low priority