Refactored check_network_connection() outside the AboutFile class