Added support of downloading files