Refactored and added missing methods

Added close, is_active and get_remote_file_to_disk