Loading the file and then waiting it for it to be loaded again doesn't need to be two separate functions. Combine it into a simple "reload_file" so it's more readable.
>