Allow var interpolation in file content functions

To address issue  #197