A method and system for managing files in a server environment includes
launching a plurality of Virtual Private Servers (VPSs) in a computing
system; copying a content of a file of a VPS to a shared space; providing
access to the file copy in the shared space when the VPS attempts to
access the file; detecting files with the same content in other VPSs; and
providing access to the file copy in the shared space from the other VPSs
when they attempt to access their files with the identical content.