changed the fileCrypt function var declaration to one local statement