changing hardcoded strings to class-constants, checking if external
storage is available and storing downloaded file in relative path