Servire file statico

Why would you use an application server to serve files? Wouldn’t it be cheaper to store and serve them elsewhere?