File encryption program design