Removed swap file and added rule to ignore in future