Minor code enhancement for the file hiding feature