The library uses python dirty tricks, in this case using call stack, where the library looks for code from the user, gets the name of the file and reads it.