fix get_file method is not working for second session