implemented marc's file encryption into the system