Updating gitignore for *~ files
Adding functions for enabling and disabling file actions