don't actually read file text unless metadata is loaded successfully