Unix script for handling creating and reading encrypted text files