fixes #122 get_file method is not working for second session