also listen for file loading