If all you want is to see previous versions, just make the files read-only after saving them and increment a number in the file name every time you change something.