UK: if statements merged with or
UK: code refactor: add create_media function, use constants for chunk_size and whence
UK: file should exist and not be empty string
UK: specify when to download a media url
UK: pep8