Fixed path being passed to compression function