Created a write permission feature to allow the user to decide whether or not to allow writing using the /file path.