MOved code for loading scrollback to a different file