Fixing bug with fileParam lookup