fix file expression for snaps