create class for file downloading