Fixed refresh on file load.