Make sure files are created before trying to load them