Checking and validation

Added functionality to check if file already exists - avoids overwrites
and unnecessary downloads for large data files.