Removed unnecessary file allocation from functions.interpolateArray