This is a simple class that calculates the time that a file takes to be downloaded from a server given the connection speed in kilobyte per second (Kbps).
The estimated download time is returned splitting the hours, minutes and seconds.
It also provides an utility functions to retrieve the size of a given file and also to convert a file size in bytes to KB, MB or GB.