Added callback to File::display and File::download methods