TRIVIAL fixing open previous file