This document proposes an efficient file hierarchy attribute-based encryption scheme for cloud computing. It aims to address some limitations of traditional ciphertext-policy attribute-based encryption (CP-ABE) schemes, such as high encryption and decryption costs as the number of attributes increases. The proposed scheme, called file hierarchy CP-ABE (FH-CP-ABE), integrates the layered access structures of hierarchical files into a single access structure. It then encrypts the hierarchical files with the integrated access structure. This allows ciphertext components related to attributes to be shared among files, reducing both ciphertext storage costs and encryption time costs. The scheme is proven secure under standard cryptographic assumptions. If implemented, it could provide a more efficient encryption scheme