Preparing the repl file