added line to ignore files ending with a tilde(~)