file reloading improvments