Put file info into temporary variable. Fixes #136